package com.peas.platform.module.icims.base.auth.dto;

import java.util.*;

import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 权限
@Data
@EqualsAndHashCode(callSuper = false)
public class PermissionDto extends BaseDto {

    //权限类型
    //0:菜单、1:按钮、2:输入组件、3：数据列
    @Condition(operator = ConditionOperator.IN)
    private String permissionType;

    //权限编码
    @Condition(operator = ConditionOperator.IN)
    private String permissionCode;

    //权限名称
    private String permissionName;

    //状态
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //链接
    private String url;

    //上级权限ID
    //（权限表）外键
    private Long parentId;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
